﻿#include <iostream>
#include "Cat.h"
#include <vector>
#include "cage2.h"
using namespace std;
int main()
{
	Cat c1, c2;
	int i = 0;
	cage cage1;
	//Cat* newcat = new Cat[10];
	/*for (int i = 0; i < 10; i++)
	{
		Cat* newcat = new Cat;
		cage1.getcat(newcat);
	}*/
	//cage1.display();
	//vector.size() vector.capacity()有啥区别？？
	while (cin.get() == 10)
	{
		Cat* newcat = new Cat;
		cout << (*newcat).catnum << endl;
		cage1.getcat(newcat);
		//delete newcat;
		cage1.output();
	}
	
}